/* altnames.c -- portable names for integer types */
#include <inttypes.h>  // supports portable types
#include <stdio.h>

int main(void) {
  int32_t me32;  // me32 a 32-bit signed variable

  me32 = 45933945;
  printf("First, assume int32_t is int: ");
  printf("me32 = %d\n", me32);
  printf("Next, let's not make any assuptions.\n");
  printf("Instead, use a \"macro\" from inttypes.h: ");
  printf("me32 = %" PRId32 "\n", me32);

  return 0;
}
